package com.ketangpai.admin.service;

import com.ketangpai.admin.entity.StuWork;
import com.ketangpai.admin.entity.dto.StuWorkDTO;

import java.util.List;
import java.util.Map;

public interface StuWorkService {
    Map<String, Object> getStudentWorks(Integer workId, Integer status, String studentName, Integer page, Integer pageSize);
    boolean submitWorkGrade(Integer id, String score, String message);
    boolean expediteSubmission(Integer id);
    boolean updateWorkStatus(Integer id, Integer status);
    StuWork getStudentWorkDetail(Integer id);
    StuWork queryById(Integer id);
    List<StuWorkDTO> queryByUCid(Integer cid, Integer uid);
    boolean update(StuWork stuWork);
}
